package com.wx.cloud.student.mapper;

import com.wx.cloud.student.model.TransferTeam;
import com.wx.cloud.student.model.User;
import java.util.List;
import java.util.Map;

public interface StudentMapper {

    User findUserByUserCode(String userCode);

    List<User> getUserByTeamCode(String teamCode);

    List<User> getUserItemByNoTeamCode();

    int updateUserTeam(Map params);

    int getCountByTeam(String teamCode);

    int updateUserToStu(User user);

    int updateUserToLea(User user);

    int updateLeaderToStu(Integer id);

    List<User> getStudentList(Map<String, Object> data);

    int getStudentCount(Map<String, Object> data);

    int updateStudent(User user);

    int delStudent(User user);

    List<User> getTeacherList();

    List<User> getCoachList();

    void addTransferTeam(TransferTeam transferTeam);

    List<User> getUserCodes(Map params);

    int addTransferTeams(Map maps);

}
